<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<html>
	<head>
		<link rel="stylesheet" type="text/css" href="${mainDomain}/statics/css/backend/public.css" />

		<script>
	var mainDomain = "${mainDomain}";
	var miscDomain = '${mainDomain}';
</script>
</head>
<body>
	<table class="detail_table" style="width:800px;" data-options="fitColumns:true">   
    <thead>   
        <tr>   
            <th colspan="8"><span>当前用户：</span><span>${userInfo.nickName!''}</span> 
				【<span style="color:red;">
				<#if userInfo.roleCode == 1>
					学生  
				<#elseif userInfo.roleCode == 3>
					教育工作者 
					<#if userInfo.relType??>
						-
						<#if userInfo.relType == 33>
							机构人员
						<#elseif userInfo.relType == 4>
							班主任
						<#elseif userInfo.relType == 5>
							老师
						<#elseif userInfo.relType == 6>
							老师兼机构人员
						<#elseif userInfo.relType == 7>
							班主任兼机构人员
						</#if>
					</#if>
				<#else>
					管理员
					<#if userInfo.relType??>
						-
						<#if userInfo.relType == 11>
							省管理员
						<#elseif userInfo.relType == 12>
							市管理员
						<#elseif userInfo.relType == 13>
							区管理员
						<#elseif userInfo.relType == 14>
							省处室
						<#elseif userInfo.relType == 15>
						市处室
						<#elseif userInfo.relType == 16>
						区处室
						<#elseif userInfo.relType == 2>
						学校管理员
						<#elseif userInfo.relType == 3>
						年级管理员
						<#elseif userInfo.relType == 17>
							校处室
						</#if>
					</#if>
				</#if>
				</span>】  
			</th>  
			<th data-options="field:'a1'"></th> 
			<th data-options="field:'c1',align:'right',width:140"></th> 
			<th data-options="field:'d1'"></th> 
			<th data-options="field:'e1',align:'right',width:140"></th>
			<th data-options="field:'f1'"></th>
			<th data-options="field:'c2',align:'right',width:140"></th> 
			<th data-options="field:'d2'"></th> 
        </tr>   
    </thead>   
    <tbody>   
        <tr>   
        	<td>用户ID：</td><td>${userInfo.id}</td>
            <td>登录名：</td><td>${userInfo.loginAccount!''}</td>
            <td>常用电话：</td><td>${userInfo.contactPhone!''}</td>   
        	<td>注册时间：</td> <td>
        		<#if userInfo.registeredTime??>${userInfo.registeredTime?string("yyyy-MM-dd HH:mm:ss")}</#if>
        		</td>
        </tr>
        <#if userInfo.roleCode == 5>
        <tr>
        	<td>所在学校：</td><td>${userInfo.eduOrgVO.schoolName!''}</td>
        	<td>所在组织：</td><td>${userInfo.eduOrgVO.orgName!''}</td>
        	<td>所在地：</td><td colspan="8">${userInfo.eduOrgVO.provinceName!''}
        		- ${userInfo.eduOrgVO.cityName!''} - ${userInfo.eduOrgVO.countyName!''}</td>
        </tr>
        </#if>   
    </tbody>   
</table>
<#if userInfo.roleCode == 5>
	
<#else>
	<table class="detail_table" style="width:800px;">   
    <thead>   
        <tr>   
            <th data-options="field:'userName1',align:'right'">【<span style="color:red;">用户档案信息</span>】</th>  
			<th data-options="field:'a1'"></th> 
			<th data-options="field:'c1',align:'right',width:140"></th> 
			<th data-options="field:'d1'"></th> 
			<th data-options="field:'e1',align:'right',width:140"></th>
			<th data-options="field:'f1'"></th>
        </tr>   
    </thead>   
    <tbody>   
        <tr>   
            <td>用户名：</td><td>${userInfo.userInfoVO.userName!''}</td>
            <td>昵称：</td><td>${userInfo.userInfoVO.nickName!''}</td>
           <td>教育卡号：</td><td>${userInfo.userInfoVO.eduCard!''}</td>
         </tr> 
         <tr> 
        	<td>证件类型：</td> <td>
        		<#if userInfo.userInfoVO.identifyType == 10>
					本人身份证
				<#elseif userInfo.userInfoVO.identifyType == 20>
					监护人身份证
				<#elseif userInfo.userInfoVO.identifyType == 30>
					台胞通行证
				<#elseif userInfo.userInfoVO.identifyType == 40>
					回乡通行证
				<#elseif userInfo.userInfoVO.identifyType == 60>
					护照
				<#else>
				</#if>
        		</td>
        	<td>证件号码：</td> <td>${userInfo.userInfoVO.identifyNumber!''}</td>
        	 <td>配套通讯卡号：</td><td>${userInfo.userInfoVO.eduPhone!''}</td> 
        </tr>
         <#if  userInfo.roleCode == 1 >
         	<tr> 
         		<td>入学时间：</td><td>${userInfo.userInfoVO.enterYears!''}</td>
	            <td>监护人姓名：</td><td>${userInfo.userInfoVO.guardianName!''}</td>
	            <td>监护人关系：</td><td>
	            	<#if userInfo.userInfoVO.guardianType == 1>
	            		爸爸
	            	<#elseif userInfo.userInfoVO.guardianType == 2>
	            		妈妈
	            	<#elseif userInfo.userInfoVO.guardianType == 3>
	            		爷爷
	            	<#elseif userInfo.userInfoVO.guardianType == 4>
	            		奶奶
	            	<#elseif userInfo.userInfoVO.guardianType == 5>
	            		其它
	            	<#else>
	            	
	            	</#if>
	            </td>
        	</tr>
        	<tr>   
	            <td>监护人证件：</td><td>
	            	<#if userInfo.userInfoVO.guardianIdentifyType == 10>
						本人身份证
					<#elseif userInfo.userInfoVO.guardianIdentifyType == 20>
						监护人身份证
					<#elseif userInfo.userInfoVO.guardianIdentifyType == 30>
						台胞通行证
					<#elseif userInfo.userInfoVO.guardianIdentifyType == 40>
						回乡通行证
					<#elseif userInfo.userInfoVO.guardianIdentifyType == 60>
						护照
					<#else>
					</#if>
	           </td>
	            <td>监护人证件号码：</td><td>${userInfo.userInfoVO.guardianIdentifyNumber!''}</td>
	            <td>联系电话：</td><td>${userInfo.userInfoVO.guardianPhone!''}</td>  
        	</tr> 
         <tr>   
            <td>省：</td><td>${userInfo.userInfoVO.provinceNameEdu!''}</td>
            <td>市：</td><td>${userInfo.userInfoVO.cityNameEdu!''}</td>
            <td>区：</td><td>${userInfo.userInfoVO.countyNameEdu!''}</td>  
         </tr>  
        <tr>   
            <td>学校：</td><td>${userInfo.userInfoVO.schoolName!''}</td>
            <td>年级：</td><td>${userInfo.userInfoVO.gradeName!''}</td>
            <td>班级：</td><td>${userInfo.userInfoVO.className!''}</td>  
         </tr>
        <#else>
          	<tr>   
	            <td>省：</td><td>${userInfo.schoolVO.provinceNameEdu!''}</td>
	            <td>市：</td><td>${userInfo.schoolVO.cityNameEdu!''}</td>
	            <td>区：</td><td>${userInfo.schoolVO.countyNameEdu!''}</td> 
         	</tr> 
        <tr>   
            <td>学校：</td><td>${userInfo.schoolVO.schoolName!''}</td>
            <td>任教班级：</td><td>
            	<#if userInfo.schoolClassRelVOLst??>
            		<#list userInfo.schoolClassRelVOLst as classInfo>
            			<span>${classInfo.gradeName!''} ${classInfo.classNickName!''}</span>
            			<span><#if classInfo.mastTeacherName??>
            					[${classInfo.mastTeacherName!''}]
            				</#if>
            			</span><br >
            		</#list>
            	</#if>
            </td>
            <td>任教科目：</td><td>
            	<#if userInfo.userSubjectRelVOLst??>
            		<#list userInfo.userSubjectRelVOLst as sub>
            			<#list userInfo.schoolClassRelVOLst as classInfo>
            				<#if classInfo.schoolId ==sub.schoolId && classInfo.gradeId == sub.gradeId && classInfo.classId=sub.classId>
            					<span>${classInfo.gradeName!''} ${sub.classId!''}班 ${sub.subjectName!''}</span>
            					<br >
            				</#if>
            			</#list>
            			
            		</#list>
            	</#if>
            </td>  
         </tr>
         </#if>
         <tr>   
            <td>审核状态：</td><td>
            		<#if userInfo.userInfoVO.verifyStatus == -1>
            			电子档案不存在
            		<#elseif userInfo.userInfoVO.verifyStatus == -2>
            			首次审核通过
            		<#elseif userInfo.userInfoVO.verifyStatus == 10>
            			审核拒绝
            		<#elseif userInfo.userInfoVO.verifyStatus == 11>
            			审核通过再打回
            		<#elseif userInfo.userInfoVO.verifyStatus == 20>
            			待审核(填报提交)
            		<#elseif userInfo.userInfoVO.verifyStatus == 39>
            			已审核
            		<#elseif userInfo.userInfoVO.verifyStatus == 30>
            			学籍待确认
            		<#else>
            			
            		</#if>
            	</td>
            <td>首次审核通过：</td><td>
            	<#if userInfo.userInfoVO.firstPassTime??>
            		${userInfo.userInfoVO.firstPassTime?string("yyyy-MM-dd HH:mm:ss")}
            	</#if>
            	</td>
            <td>身份认证来源：</td><td>
            		<#if userInfo.userInfoVO.sourceType == 1>
            			web端
            		<#elseif userInfo.userInfoVO.sourceType == 2>
            			IOS
            		<#elseif userInfo.userInfoVO.sourceType == 3>
            			安卓
            		<#else>
            			
            		</#if>
            	</td>  
         </tr> 
        	 <#if  userInfo.roleCode == 3>
         	<!-- 教育工作者  涉及到 职位 入职时间    -->
         	<tr>   
	            <td>入职时间：</td><td>${userInfo.userInfoVO.enterYears!''}</td>
	            <td>任职部门：</td><td>${userInfo.userInfoVO.jobDepartment!''}</td>
	            <td>职务：</td><td>${userInfo.userInfoVO.job!''}</td>  
        	</tr>
        	 </#if>
        	<tr> 
        	 <#if  userInfo.roleCode == 3>  
	            <td>关系所在单位：</td><td>${userInfo.userInfoVO.unitRel!''}</td>
	            <td>机构所在部门：</td><td>${userInfo.userInfoVO.jobOrgName!''}</td>
	          </#if>
	          	<td>家庭所在地址：</td><td>${userInfo.userInfoVO.homeAddress!''}</td>
        	</tr>  
    </tbody>   
</table>
</#if>
</body>
</html>